package com.kedou.sdk.params;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/6/7 0007.
 */

public class CreateSmallAccountRequestParams extends BaseRequestParams implements Parcelable {

    private static final String SERVICE = "addTrumpet";



    private String name;

    public CreateSmallAccountRequestParams() {


    }

    @Override
    public String getServiceString() {
        return SERVICE;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        super.writeToParcel(dest, flags);
        dest.writeString(this.name);

    }

    protected CreateSmallAccountRequestParams(Parcel in) {
        super(in);
        this.name = in.readString();

    }

    public static final Creator<CreateSmallAccountRequestParams> CREATOR = new Creator<CreateSmallAccountRequestParams>() {
        @Override
        public CreateSmallAccountRequestParams createFromParcel(Parcel source) {
            return new CreateSmallAccountRequestParams(source);
        }

        @Override
        public CreateSmallAccountRequestParams[] newArray(int size) {
            return new CreateSmallAccountRequestParams[size];
        }
    };
}
